<?php
function get($url, $data){
// use key 'http' even if you send the request to https://...
    $options = array(
        'http' => array(
            'header'  => "Content-type: application/x-www-form-urlencoded\r\nCookie: JSESSIONID=node0bo5admafw5ftiiwxeq9k6jfd2.node0\r\n",
            'method'  => 'POST',
            'content' => http_build_query($data)
        )
    );
    $context  = stream_context_create($options);
    $result = file_get_contents($url, false, $context);
    if ($result === FALSE) { /* Handle error */ }
    return $result;
}

$url = 'http://www.peng.com:20001/volbeacon/management/home/index.do';
$data = array('key1' => 'value1', 'key2' => 'value2');

var_dump(get($url, $data));
